package com.im.partchat.mvp.model.contact;

import com.im.partchat.adapter.tree.TreeElement;
import com.im.partchat.bean.Group;
import com.im.partchat.bean.User;

import java.util.List;

import io.reactivex.Observable;

/**
 * Created by hhz on 2017/7/1.
 */
public interface ContactModel {
    Observable<List<User>> getMyOrganization(String deptId);
    Observable<List<User>> getMyFriend();
    Observable<List<Group>> getMyGroup();
    Observable<List<TreeElement>> getOrganization();

    Observable<List<User>> getUsersByKey(String key);
}
